A good answer might be:

Yes.

Throwable Hierarchy

 

Class Exception and class Error both descend from Throwable. A Java method can "throw" an object of class Throwable. (We will do this later on in this chapter.) For example, the method Integer.ParseInt() throws an exception when it tries to convert "Rats" into an integer.

Exceptions are different from Errors because programs can be written to recover from Exceptions, but programs can't be written to recover from Errors. The rest of this chapter discusses Exceptions.


 

QUESTION 3:

Does a program have to catch exceptions?